Why should I copy a copy of php after installing php. ini to usrlocalphplibphp. ini I tried it. If you do not copy a copy of php, it will work normally. Why do you need to copy a copy of php from the installation package. ini to usrlocalphplibphp.
The Phpini file is a configuration file of php. on a windows host, if you haven't modified the configuration file, the phpini file must be in the same directory as your php installation file, but it seems different in linux.
Php. the INI file is a
Php. the INI file is a configuration file of php. If you have not modified the configuration file of php on a windows host. the INI file must be in the same directory as your php installation directory, but it seems to be different in linux. Next I
Find the path of the php configuration file php. ini. Generally, php. ini is located in the following Directory: Copy the code: etc or usrlocallib. If you still cannot find php. ini or find the php. ini modification, it will not take effect (in fact,
This article mainly describes how to find the php configuration file php. there are two methods for ini path. many users cannot find php after installing php. ini, or an environment installed by others. The method in this article is simple and
In linuxThe most likely location is the/etc directory or the/usr/local/lib directory.If you still cannot find the location, use the ultimate solution:Create a php file and write the following code Save the file, visit the page in the browser, and
How does one view the path of the php configuration file php. ini?
Let us know two ways to find the path of the php configuration file php. ini.Usually php. ini is located:/Etc directory or/usr/local/lib directory.If you still cannot find
PHP reads the php code of the configuration file class (php, ini, yaml, xml:
_ Settings; foreach ($ var as $ key) {if (! Isset ($ result [$ key]) {return false;} $ result = $ result [$ key];} return $ result;} function load () {trigger_error
Configuration file operations in php, such as reading and modifying the config. php file. Copy the code as follows :? Php $ nameadmin; kkkk $ bb234; $ db4561321; $ kkkadmin ;? Function definition: get the data value of the configuration file:
CentOS PHP-5.4.8 build and installation experience, centosphp-5.4.8
1. download version 5.4.8
[Root @ Test data] wget http://museum.php.net/php5/php-5.4.8.tar.gz
2. Extract
[Root @ Test php-5.4.8] # tar xzf php-5.4.8.tar.gz
3. Compile and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.